package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 租户信息对象 tenancy_info
 * 
 * @author ruoyi
 * @date 2023-03-03
 */
public class TenancyInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 更新时间 */
    private Date updatedAt;

    /** 创建人 */
    private String createdBy;

    /** 更新人 */
    private String updatedBy;

    /** 租户名称 */
    @Excel(name = "租户名称")
    private String tenancyName;

    /** 租户负责人 */
    @Excel(name = "租户负责人")
    private String tenancyPic;

    /** 租户电话 */
    @Excel(name = "租户电话")
    private String tenancyMobile;

    /** 租户状态 */
    @Excel(name = "租户状态")
    private Long tenancyState;

    /** 租户类型 */
    @Excel(name = "租户类型")
    private String tenancyCode;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }
    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }
    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }
    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }
    public void setTenancyName(String tenancyName) 
    {
        this.tenancyName = tenancyName;
    }

    public String getTenancyName() 
    {
        return tenancyName;
    }
    public void setTenancyPic(String tenancyPic) 
    {
        this.tenancyPic = tenancyPic;
    }

    public String getTenancyPic() 
    {
        return tenancyPic;
    }
    public void setTenancyMobile(String tenancyMobile) 
    {
        this.tenancyMobile = tenancyMobile;
    }

    public String getTenancyMobile() 
    {
        return tenancyMobile;
    }
    public void setTenancyState(Long tenancyState) 
    {
        this.tenancyState = tenancyState;
    }

    public Long getTenancyState() 
    {
        return tenancyState;
    }
    public void setTenancyCode(String tenancyCode) 
    {
        this.tenancyCode = tenancyCode;
    }

    public String getTenancyCode() 
    {
        return tenancyCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .append("createdBy", getCreatedBy())
            .append("updatedBy", getUpdatedBy())
            .append("tenancyName", getTenancyName())
            .append("tenancyPic", getTenancyPic())
            .append("tenancyMobile", getTenancyMobile())
            .append("tenancyState", getTenancyState())
            .append("tenancyCode", getTenancyCode())
            .toString();
    }
}
